package com.open.capacity.nk.service;

import com.open.capacity.nk.entity.NkMaterialpurchasereceiptdetail;

import com.open.capacity.commons.PageResult;

import java.util.Map;
import java.util.List;
/**
 *
 *
 * @author
 * @email
 * @date 2023-03-14 14:45:20
 */
public interface NkMaterialpurchasereceiptdetailService {
    /**
     * 添加
     * @param nkMaterialpurchasereceiptdetail
     */
    int save(NkMaterialpurchasereceiptdetail nkMaterialpurchasereceiptdetail);


    /**
     * 删除
     * @param id
     */
    int delete(String id);


    /**
    * 查询记录
    * @param id
    * @return
    */
        NkMaterialpurchasereceiptdetail findById(String id);

    /**
     * 分页
     * @param params
     * @return
     */
    PageResult<NkMaterialpurchasereceiptdetail> pageAll(Map<String, Object> params);

    /**
     * 列表
     * @param params
     * @return
     */
    List<NkMaterialpurchasereceiptdetail> findAll(Map<String, Object> params);
}

